package com.wuyanzu.shixicoderedo.mapper;

import com.wuyanzu.shixicoderedo.common.entity.User;
import org.apache.ibatis.annotations.*;

@Mapper
public interface UserMapper {
    User findById(@Param("id") Long id);

    User findByUsername(@Param("username") String username);

    int insert(User user);
}